home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Tool Chest / QuickDraw GX / QuickDraw GX Info / QuickDraw GX Interfaces / QDGX Universal Interfaces&xcoff / font menu library.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-01  |  2.3 KB  |  77 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        font menu library.h
  3.  
  4.     Copyright:    © 1984-1994 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12.     #ifndef fontMenuLibraryIncludes
  13. #define fontMenuLibraryIncludes
  14.  
  15.     #ifndef __Menus__
  16. #include <Menus.h>
  17. /*    #include <Quickdraw.h>                                        */
  18. /*        #include <Types.h>                                        */
  19. /*            #include <ConditionalMacros.h>                        */
  20. /*            #include <MixedMode.h>                                */
  21. /*                #include <Traps.h>                                */
  22. /*        #include <QuickdrawText.h>                                */
  23. /*            #include <IntlResources.h>                            */
  24.     #endif
  25.  
  26.     #ifndef fontTypesIncludes
  27. #include "font types.h"
  28. /*    #include "math types.h"                                        */
  29.     #endif
  30.  
  31.     #ifndef graphicsTypesIncludes
  32. #include "graphics types.h"
  33.     #endif
  34.  
  35.     #ifndef layoutRoutinesIncludes
  36. #include "layout routines.h"
  37. /*    #include "layout types.h"                                    */
  38. /*    #include "graphics linkage.h"                                */
  39.     #endif
  40.  
  41.     #ifndef fontRoutinesIncludes
  42. #include "font routines.h"
  43.     #endif
  44.  
  45.     #ifdef __cplusplus
  46. extern "C" {
  47.     #endif
  48.  
  49. enum fontMenuAttributes {
  50.     noInstancesFontMenu            = 1
  51. };
  52.  
  53. typedef long fontMenuAttribute;
  54.  
  55. typedef boolean (*fontFilterProc)(gxFont fontID);
  56.  
  57. extern void SortMenu(MenuHandle menu);
  58. extern long FontMenu(MenuHandle menu);
  59. extern long FontPlatformMenu(MenuHandle menu, gxFontPlatform platform, gxFontScript script, gxFontLanguage language);
  60. extern long FontFamilyMenu(MenuHandle menu);
  61. extern long FontFamilyPlatformMenu(MenuHandle menu, gxFontPlatform platform, gxFontScript script, gxFontLanguage language);
  62. extern MenuHandle FontStyleMenu(short menuID, gxFont family);
  63. extern short HierFontMenu(MenuHandle theMenu, short firstHierMenuID, fontFilterProc proc, fontMenuAttribute attr);
  64. extern gxFont DoHierFontMenuCommand(long menuResult, short hierFontMenuID, long *instanceIndex);
  65. extern short DoHierFontMenuCommandStyle(long menuResult, short hierFontMenuID, gxStyle aStyle, long matchInfo);
  66. extern short DoHierFontMenuCommandShape(long menuResult, short hierFontMenuID, gxShape aShape);
  67. extern long FontToQD(gxFont fontID, long *styleBits);
  68. extern long GetMenuRunFeatures(MenuHandle menu, gxFont fontID, gxRunFeature feature[]);
  69. extern void SetMenuRunFeatures(MenuHandle menu, gxFont fontID, long count, const gxRunFeature feature[]);
  70. extern void FontFeatureMenu(MenuHandle menu, gxFont fontID);
  71.     #ifdef __cplusplus
  72. }
  73.     #endif
  74.  
  75. #endif
  76.  
  77.